<?php

namespace App\Models\Goods;

use App\Models\BasicModel;

class CartItemsModel extends BasicModel
{
    protected $table = 'cart_items';

    protected $fillable = [
        'cart_items_id',
        'customer_id',
        'goods_id',
        'quantity',
        'created_at',
        'updated_at',
    ];

    protected $hidden = [
        'created_at',
        'updated_at',
    ];

    protected $casts = [
        'cart_items_id' => 'integer',
        'customer_id' => 'integer',
        'goods_id'=> 'integer',
        'quantity'=> 'integer',
        'created_at'=> 'string',
        'updated_at'=>'string',
    ];
}
